<template>
  <div class="login-container">
    <div class="login-box">
      <!-- 左边背景图 start -->
      <div class="login-left">
        <img src="@/assets/system-bg.png" alt="">
      </div>
      <!-- 左边背景图 end -->

      <!-- 登录表单 start -->
      <div class="login-form">
        <!-- 标题和logo start -->
        <div class="login-title">
          <img class="icon" src="@/assets/布偶猫.png" alt="">
          <h2 class="title">后台管理系统</h2>
        </div>
        <!-- 标题和logo end -->

        <!-- 登录表单组件 start -->
        <LoginForm/>
        <!-- 登录表单组件 end -->
      </div>
      <!-- 登录表单 end -->
      
    </div>
  </div>

</template>

<script setup lang="ts">
import LoginForm from "@/views/system/login/components/LoginForm.vue";



</script>

<style scoped>
.login-container {
  background-color: #f0f2f5;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 25px 25px;
  box-sizing: border-box;
  //background-image: url("@/assets/system-bg.png");
}

.login-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-left {
  width: 50%;
}

.login-left img {
  width: 100%;
}

.login-form {
  max-width: 480px;
  width: 50%;
  padding: 40px;
  border-radius: 10px;
  box-shadow:  0 2px 12px rgb(0 0 0 / 10%);
  box-sizing: border-box;
}

.login-title {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 30px;
}

.login-title title {
  margin: 0;
  font-size: 30px;
  white-space: nowrap;
}

.login-title img {
  width: 60px;
}





</style>